package edu.hitsz.application.game;

import edu.hitsz.application.ImageManager;

/**
 * @author CsCN
 */
public class EasyGame extends AbstractGame {
    public EasyGame(){
        super();
        // 背景图片
        backgroundImage = ImageManager.EASY_BACKGROUND_IMAGE;
        // 不产生Boss机, 因为score / bossScoreThreshold > bossCount永远为假
        bossScoreThreshold = -1;
        // Boss血量不增加
        bossHpIncrementRate = 0;
        commonEnemyPropertyRate = 1;
    }

    /**
     * 简单敌机难度不随时间增加
     */
    @Override
    public void updateDifficulty() {
        String out = String.format("敌机射击数量: %d, 敌机属性比率: %.4f, 敌机最大数量: %d, 精英敌机生成概率: %.4f, Boss生成阈值: %d",
                commonEnemyShootNum, commonEnemyPropertyRate, enemyMaxNumber, elitePossibility, bossScoreThreshold);
        System.out.println(out);
    }
}
